package com.wanxi.test;
//第6次出现豹子

import java.util.Random;

public class PlayDice {
    public static void main(String[] args) {
        Random random = new Random();
        int num = 1;
        while (true) {
            if (num % 6 != 0) {
                for (int i = 1; i <= 3; i++)
                    System.out.print(random.nextInt(6) + 1);
            }


            if (num % 6 == 0) {
                int a = random.nextInt(6) + 1;
                System.out.println(a + "" + a + "" + a);
            }

            System.out.println();
            num++;
            if (num > 100) {
                break;
            }
        }

    }

}
